package com.serkol.ams.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.serkol.ams.entity.UsersAuthentication;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
* @author pingan
* @description 针对表【users_authentication】的数据库操作Service
* @createDate 2022-09-17 16:31:38
*/
public interface UsersAuthenticationService extends IService<UsersAuthentication> {

    UsersAuthentication getInfo();
    UsersAuthentication getFindByUserId(Long userId);

    boolean isIdCardValid(String idcard);

    boolean saveOrUpdate(UsersAuthentication usersAuthentication, QueryWrapper<UsersAuthentication> usersAuthenticationQueryWrapper);
}
